package com.example.guiguiapplicatio.databindingBean;

import java.io.Serializable;
import java.util.Date;

public class Followupnewchild implements Serializable {

    Integer id;
    String idNum;
    String sex;
    String adress;
    String fatherName;
    String fatherJob;
    String fatherPhoneNum;
    String fatherBirthday;
    String motherName;
    String motherJob;
    String motherPhoneNum;
    String motherBirthday;
//    public boolean equals(Object obj) {
//        if(this == obj){//判断比较两个对象是否为同一个对象，若为同一对象属性肯定会完全相同
//            return true;
//        }
//        if(!(obj instanceof Followupnewchild)) {//判断obj是否为Doctor的实例对象或者子类
//            return false;	//不是返回false
//        }
//
//        //若能运行到此处，即说明obj运行类型为Doctor或者是其子类
//        //因此能向下转型，把obj转为Doctor
//        Followupnewchild o = (Followupnewchild) obj;
//        return this.id==o.id && this.idNum == o.idNum
//                && this.sex== o.sex&& this.adress == o.adress&& this.fatherName ==o.fatherName&& this. ==o.&& this. ==o .&& this. == o.&& this. == o.&& this. == o.
//    }//一一判断不是同一个对象，但是同一个类型的对象或者为父子关系的对象的属性是否全相等

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getIdNum() {
        return idNum;
    }

    public void setIdNum(String idNum) {
        this.idNum = idNum;
    }

    public String getSex() {
        if (sex!=null){
            return sex;
        }else return null;

    }

    public void setSex(String sex) {
        this.sex = sex;
    }

    public String getAdress() {
        return adress;
    }

    public void setAdress(String adress) {
        this.adress = adress;
    }

    public String getFatherName() {
        return fatherName;
    }

    public void setFatherName(String fatherName) {
        this.fatherName = fatherName;
    }


    public String getFatherPhoneNum() {
        return fatherPhoneNum;
    }

    public void setFatherPhoneNum(String fatherPhoneNum) {
        this.fatherPhoneNum = fatherPhoneNum;
    }

    public String getFatherBirthday() {
        return fatherBirthday;
    }

    public void setFatherBirthday(String fatherBirthday) {
        this.fatherBirthday = fatherBirthday;
    }

    public String getMotherName() {
        return motherName;
    }

    public void setMotherName(String motherName) {
        this.motherName = motherName;
    }


    public String getMotherPhoneNum() {
        return motherPhoneNum;
    }

    public void setMotherPhoneNum(String motherPhoneNum) {
        this.motherPhoneNum = motherPhoneNum;
    }

    public String getMotherBirthday() {
        return motherBirthday;
    }

    public void setMotherBirthday(String motherBirthday) {
        this.motherBirthday = motherBirthday;
    }

    public String getFatherJob() {
        return fatherJob;
    }

    public void setFatherJob(String fatherJob) {
        this.fatherJob = fatherJob;
    }

    public String getMotherJob() {
        return motherJob;
    }

    public void setMotherJob(String motherJob) {
        this.motherJob = motherJob;
    }





}
